package kin.test;


import java.util.List;
import java.util.Map;

import javax.persistence.Entity;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import kin.bean.security.Module;
@JsonInclude(Include.NON_NULL)


@Entity

//@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, /*include = JsonTypeInfo.As.PROPERTY,*/ property = "rootClass")
public class Us {
	
	private int us_id;
	private int[] aaa;
	//@JsonManagedReference
	//@JsonBackReference
	private List<Us> children;
	
	//private Map<String,Object> m;
	//private List<String> list;
	//@JsonBackReference("us-parent")
    private Us parent;
    private Mo mo;
	/*public List<String> getList() {
		return list;
	}

	public void setList(List<String> list) {
		this.list = list;
	}*/

	public int[] getAaa() {
		return aaa;
	}

	public void setAaa(int[] aaa) {
		this.aaa = aaa;
	}

	/*public Map<String, Object> getM() {
		return m;
	}*/

	/*public void setM(Map<String, Object> m) {
		this.m = m;
	}
*/
	

	public int getUs_id() {
		return us_id;
	}

	public void setUs_id(int us_id) {
		this.us_id = us_id;
	}

	
	
	public List<Us> getChildren() {
		return children;
	}

	public void setChildren(List<Us> children) {
		this.children = children;
	}

	public Us getParent() {
		return parent;
	}

	public void setParent(Us parent) {
		this.parent = parent;
	}

	public Mo getMo() {
		return mo;
	}

	public void setMo(Mo mo) {
		this.mo = mo;
	}

	
	
}
